.webform-field-upload-list del {
	display: inline-block;
	margin: 0 3px 0 6px;
	width: 16px;
	height: 16px;
	border-radius: 30px;
	font-size: 16px;
	line-height: 16px;
	text-align: center;
	-webkit-transition: background .3s, color .3s;
	transition: background .3s, color .3s;
	text-decoration: none;
	outline: none;
	cursor: pointer;
}
.webform-field-upload-list del:hover {
	background: #E00101;
	color: #fff;
}
.webform-field-upload-list .error-text {
	color: #E00101;
}
.webform-field-upload-list i {
	vertical-align:top;
	display: none;
	width: 15px;
	height: 15px;
	background: url(/bitrix/js/main/core/images/popup/upload-waiting.gif) no-repeat 0 2px;
	margin: 0 0 0 8px; }

.hidden-caption {display: none;}

/* from intranet-common.css */
.webform-field-upload-list {
	margin:0 0 11px 2.8em;
	padding:0;}
.webform-field-upload-list a.upload-file-name { margin: 0 0 0 -4px; color: #0069c4; text-decoration: underline;}
.webform-field-upload-list a.upload-file-name:hover { color: #1c91e7; }
.webform-field-upload-list li {
	white-space: nowrap;
	width: 100%;
}
.webform-field-upload-list li div.webform-field-item-wrap {
/*	display: -webkit-box;
	display: -ms-flexbox;
	display: flex;
*/	-webkit-box-align: center;
	-ms-flex-align: center;
	align-items: center;
	margin: 0 0 3px 0;
	color: #888;
	white-space: nowrap;
}
.webform-field-upload-list li.uploading { color: #bbbbbb; }
.webform-field-upload-list li.uploading a.upload-file-name { cursor: default; -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=50)"; filter: alpha(opacity=50); -moz-opacity: 0.5; -khtml-opacity: 0.5; opacity: 0.5; }
.webform-field-upload-list li.uploading i {  display: inline-block; }

.webform-field-upload-list li .upload-file-name {
	padding: 0 5px 0 0;
}

.webform-field-upload {
	overflow: hidden;
	width: 250px;
	max-width: 100%;
	height: 39px;
	line-height: 39px;
	cursor: pointer;
	display: block;
	position: relative;
	padding: 0;
	margin: 0;
}

.file-input .webform-field-upload input[type=file],
.file-input .webform-field-upload input[type=button] {
	-moz-opacity: 0;
	filter: alpha(opacity=0);
	opacity: 0;
	font-size: 150px;
	position: absolute;
	top: 0;
	right: 0;
	bottom: 0;
	left: 0;
	width: 100%;
	height: 100%;
	margin: 0;
	padding: 0;
	border: 1px solid transparent;
}
.webform-field-upload .webform-small-button {
	padding: 0;
	margin: 0;
	position: absolute;
	top: 0;
	right: 0;
	bottom: 0;
	left: 0;
	text-align: center;
}

.webform-field-upload-list ~ .webform-field-upload .webform-button-replace { display: none; }
.webform-field-upload-list.webform-field-upload-list-single {list-style: none; margin:0 0 11px 10px;}
.webform-field-upload-list.webform-field-upload-list-single ~ .webform-field-upload .webform-button-upload { display: none; }
.webform-field-upload-list.webform-field-upload-list-single ~ .webform-field-upload .webform-button-replace { display: inline-block; }
.webform-field-upload-list.webform-field-upload-list-single:empty ~ .webform-field-upload .webform-button-upload { display: inline-block; }
.webform-field-upload-list.webform-field-upload-list-single:empty ~ .webform-field-upload .webform-button-replace { display: none; }

.webform-field-upload-icon {
	display: none;
	margin: 0 10px 0 0;
	width: 39px;
	height: 39px;
	-webkit-border-radius: 50%;
	-moz-border-radius: 50%;
	border-radius: 50%;
	background: #535c6a no-repeat center;
	background-image: url();
	vertical-align: top;
	background-size: 50%;
	overflow: hidden;
}
.webform-field-upload-icon canvas, .webform-field-upload-icon img {
	width: 100%;
}

.webform-field-upload-list.webform-field-upload-icon-view .webform-field-upload-icon {
	display: inline-block;
}
.webform-field-upload-notice {
	font-size: 11px;
	font-style: italic;
}